<script>
var none = [
"Y27",
"AD27",
"AD28",
"AC27",
"AC28",
"R28",
"AE27",
"C26",
"F24",
"F27",
"H21",
"E26",
"J24",
"K27",
"K22",

"D26",

"R2",

"A1",
"A2",
"A5"    ,
"A9"    ,
"A13"   ,
"A16"   ,
"A20"   ,
"A24"   ,
"A27"   ,
"A28"   ,
"B1"    ,
"B2"    ,
"B5"    ,
"B9"    ,
"B12"   ,
"B13"   ,
"B16"   ,
"B20"   ,
"B24"   ,
"B27"   ,
"B28"   ,
"C1"    ,
"C28"   ,
"D3"    ,
"E6"    ,
"E9"    ,
"E13"   ,
"E16"   ,
"E20"   ,
"E23"   ,
"F6"    ,
"F9"    ,
"F13"   ,
"F16"   ,
"F20"   ,
"F23"   ,
"H1"    ,
"H2"    ,
"H9"    ,
"H11"   ,
"H18"   ,
"H20"   ,
"H27"   ,
"H28"   ,
"J2"    ,
"J8"    ,
"J9"    ,
"J11"   ,
"J13"   ,
"J15"   ,
"J18"   ,
"J20"   ,
"J21"   ,
"K5"    ,
"K6"    ,
"K8"    ,
"K9"    ,
"K10"   ,
"K11"   ,
"K12"   ,
"K14"   ,
"K16"   ,
"K17"   ,
"K18"   ,
"K19"   ,
"K20"   ,
"K23"   ,
"K24"   ,
"L9"    ,
"L10"   ,
"L11"   ,
"L12"   ,
"L13"   ,
"L14"   ,
"L15"   ,
"L16"   ,
"L17"   ,
"L18"   ,
"L19"   ,
"L21"   ,
"M10"   ,
"M11"   ,
"M12"   ,
"M13"   ,
"M14"   ,
"M15"   ,
"M16"   ,
"M17"   ,
"M18"   ,
"M19"   ,
"M20"   ,
"N1"    ,
"N2"    ,
"N5"    ,
"N6"    ,
"N9"    ,
"N10"   ,
"N11"   ,
"N12"   ,
"N13"   ,
"N14"   ,
"N15"   ,
"N16"   ,
"N17"   ,
"N18"   ,
"N19"   ,
"N20"   ,
"N23"   ,
"N24"   ,
"N27"   ,
"N28"   ,
"P9"    ,
"P10"   ,
"P11"   ,
"P12"   ,
"P13"   ,
"P14"   ,
"P15"   ,
"P16"   ,
"P17"   ,
"P18"   ,
"P19"   ,
"P20"   ,
"R9"    ,
"R10"   ,
"R11"   ,
"R12"   ,
"R13"   ,
"R14"   ,
"R15"   ,
"R16"   ,
"R17"   ,
"R18"   ,
"R19"   ,
"R20"   ,
"T1"    ,
"T2"    ,
"T5"    ,
"T6"    ,
"T10"   ,
"T11"   ,
"T12"   ,
"T13"   ,
"T14"   ,
"T15"   ,
"T16"   ,
"T17"   ,
"T18"   ,
"T19"   ,
"T20"   ,
"T23"   ,
"T24"   ,
"T27"   ,
"T28"   ,
"U9"    ,
"U10"   ,
"U11"   ,
"U12"   ,
"U13"   ,
"U14"   ,
"U15"   ,
"U16"   ,
"U17"   ,
"U18"   ,
"U19"   ,
"U21"   ,
"V10"   ,
"V11"   ,
"V12"   ,
"V13"   ,
"V14"   ,
"V15"   ,
"V16"   ,
"V17"   ,
"V18"   ,
"V19"   ,
"W5"    ,
"W6"    ,
"W7"    ,
"W11"   ,
"W12"   ,
"W13"   ,
"W14"   ,
"W15"   ,
"W17"   ,
"W18"   ,
"W19"   ,
"W23"   ,
"W24"   ,
"Y8"    ,
"Y9"    ,
"Y11"   ,
"Y16"   ,
"Y18"   ,
"Y20"   ,
"Y21"   ,
"AA1"   ,
"AA2"   ,
"AA9"   ,
"AA11"  ,
"AA18"  ,
"AA20"  ,
"AA27"  ,
"AA28"  ,
"AB10"  ,
"AC6"   ,
"AC9"   ,
"AC13"  ,
"AC16"  ,
"AC20"  ,
"AC23"  ,
"AD6"   ,
"AD9"   ,
"AD13"  ,
"AD16"  ,
"AD20"  ,
"AD23"  ,
"AF1"   ,
"AF28"  ,
"AG1"   ,
"AG2"   ,
"AG5"   ,
"AG9"   ,
"AG13"  ,
"AG16"  ,
"AG20"  ,
"AG24"  ,
"AG27"  ,
"AG28"  ,
"AH1"   ,
"AH2"   ,
"AH5"   ,
"AH9"   ,
"AH13"  ,
"AH16"  ,
"AH20"  ,
"AH24"  ,
"AH27"  ,
"AH28"  ,

"M6",
"M22",
"N22",
"P4",
"P5",
"P6",
"P7",
"P8",
"P22",
"P23",
"P24",
"R8",

];

var dict = [
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"H",
"J",
"K",
"L",
"M",
"N",
"P",
"R",
"T",
"U",
"V",
"W",
"Y",
"AA",
"AB",
"AC",
"AD",
"AE",
"AF",
"AG",
"AH",
];

if(0){
for(var j=0;j<28;j++){
	for(var i=0;i<28;i++){
		var name = dict[j]+(i+1);
		if(none.indexOf(name)>=0){
			continue;
		}
		var line = "set_location_assignment PIN_"+name+" -to "+name;
		document.write(line + "<br/>");
	}
}
}

document.write("<br/>");
document.write("<br/>");
		
if(0){
for(var j=0;j<28;j++){
	for(var i=0;i<28;i++){
		var name = dict[j]+(i+1);
		if(none.indexOf(name)>=0){
			continue;
		}
		var line = "input "+name+",";
		document.write(line + "<br/>");
	}
}
}

document.write("<br/>");
document.write("<br/>");

for(var j=0;j<28;j++){
	var ll = "";
	for(var i=0;i<28;i++){
		var name = dict[j]+(i+1);
		if(none.indexOf(name)>=0){
			name = "1'b0";
		}
		var sn = (5-name.length);
		var s = "";
		for(var k=0;k<sn;k++){
			s+="&nbsp;";
		}
		name = s+name;
		ll= name+","+ll;
	}
	var line = j+": pinvalue <= {"+ll+"};";
	document.write("<div>"+line + "</div>");
}



</script>